package com.zengqingfa.designpattern.behavior.observer.guava;

/**
 *
 * @fileName: Subject
 * @author: zengqf3
 * @date: 2021-5-13 11:40
 * @description:
 */
public interface Subject {

    /**
     * 注册观察者
     * @param observer
     */
    void register(Observer observer);

    /**
     * 移除观察者
     * @param observer
     */
    void unregister(Observer observer);
}
